//////////////////////////////////////
//                                  //
//           custom.js              // 
//                                  //
//////////////////////////////////////

// Note: Developers will need to change these two variables to reflect
//       the actual section and topic that this SCO represents.  When
//       this Lesson loads, navigation will start at 
//       section SCO_SECTION, topic SCO_TOPIC.
var SCO_SECTION = 1;
var SCO_TOPIC = 1;

/////////////////////////////////////////
// This file contains custom toolbar   //
// functions and variable declarations //
// which are not in all versions of    //
// the toolbar.                        //
///////////////////////////////////////// 

var courseTitle = "2-2 Request Medical Evacuation";
var alternateCourseTitle = courseTitle;
var disabledLinkColor = "#B1AB9F";

// Declare some constants for array
// initializations.
var MAX_SECTIONS= 1
var MAX_TOPICS=1
var MAX_SUBTOPICS=13
	

function disableRefreshButton()
{
	disableRefresh = true;
	theRefreshButton.src=imageArray[REFRESH_IMG + 3].src;
}
	
function enableRefreshButton()
{
	disableRefresh = false;
	theRefreshButton.src=imageArray[REFRESH_IMG].src;
}
function showStatus()
{
	alert(getStatus());
	theStatusButton.src=imageArray[STATUS_IMG].src;
}
	
function updateToolbarStatus()
{
}
	
function clearToolbarStatus()
{
}

function alertLocked(sec, top, subtop, pag)
{
	//if (sec == 2 && top == 1 && pag == null)
	//{
	//	alert("You cannot enter the pretest once you have viewed the instructional material.");
	//}
	//else
	//{
		alert("You cannot enter this area of the lesson because it is currently locked.");
	//}
}

